#

from appium import webdriver
from appium.webdriver.common.touch_action import TouchAction

desired_caps = dict()
desired_caps['platformName'] = 'Android'
desired_caps['platformVersion'] = '5.1'
desired_caps['deviceName'] = '192.168.56.101:5555'
desired_caps['appPackage'] = 'cn.goapk.market'
desired_caps['appActivity'] = 'com.anzhi.market.ui.AppDetailsActivity'

driver = webdriver.Remote('http://192.168.41.103:4723/wd/hub', desired_caps)
